From: Alan Mackenzie Date: Sun, 2 May 2021 15:22:36 +0000 (+0000) Subject: * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let* X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~2890 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=84a2a4715b98e05ee37382d817ebe2ba9f2e03ce;p=emacs.git * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let* This should solve part of bug #48100. --- diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 4f79fa9b330..02292327581 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -615,7 +615,7 @@ must not be within a `c-save-buffer-state', since the user then wouldn't be able to undo them. The return value is the value of the last form in BODY." - (declare (debug t) (indent 1)) + (declare (debug let*) (indent 1)) (if (fboundp 'with-silent-modifications) `(with-silent-modifications (let* ,varlist ,@body)) `(let* ((modified (buffer-modified-p)) (buffer-undo-list t)